home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / e / realval.rdm < prev    next >
Text File  |  1996-01-16  |  814b  |  23 lines

  1. Short:    Best StringToReal as EModule with Source
  2. Author:   subvcbhd@w271zrz.zrz.tu-berlin.de (Henk Jonas)
  3. Uploader: subvcbhd@w271zrz.zrz.tu-berlin.de
  4. Type:     dev/e
  5.  
  6. Requirement:  - any Amiga
  7.               - OS 2.0+
  8.               - The E Compiler V3.0+
  9.  
  10. What is it?
  11.   Cause the original 'RealVal' gives wrong values if your number too long
  12.   and it dont support xxxEyy as xxx*10^yy. This thing fix it!
  13.   Syntax are:
  14.                    n:=realval(s,{x})
  15.   With n the number of parsed characters from start of the string or 0 if
  16.   not float value are founded, s the string and x the float.
  17.   ATTENTION: realval DONT skip leading spaces or tabs, in this case you
  18.   must use n:=realval(TrimStr(s),{x}) to fix this.
  19.  
  20. Copyright:
  21.   This Software is free to use. I give you all rights to do with this what you want.
  22.   
  23.